@charset "utf-8";

body{
    display: flex;
    flex-direction: column;
    background-color: #eee;
}

header{
    background: #f2b737;
    position: relative;
    margin-bottom: 15px;
}
header .logo{
    margin-top: 20px;
    text-align: center;
}
header nav{
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 160px;
}
header nav a{
    color: #fff;
}
header .banner{
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 105px;
    height: 160px;
    background: url(../imgs/youpinshenghuo-banner.png) no-repeat;
    background-size: 100%;
    border-radius: 15px;
}

/* 主题内容 */
main{
    flex: 1;
    overflow-y: auto;
}
main .nav{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
main .nav li{
    width: 20%;
    text-align: center;
}
main .nav li img{
    width: 50%;
}
main .nav li span{
    font-size: 12px;
    display: block;
}
main .content{
    display: flex;
    justify-content: space-between;
}
main .list-left{
    width: 49%;
}
main .list-right{
    width: 49%;
}
main .content li{
    border-radius: 15px;
    background-color: #fff;
    font-size: 12px;
    padding-bottom: 10px;
    margin-top: 15px;
}
main .list-left div{
    width: 100%;
    background: url(../imgs/youpinshenghuo-list-01.jpg);
    background-size: 100%;
    border-radius: 15px;   
}
main .list-right div{
    width: 100%;
    background: url(../imgs/youpinshenghuo-list-02.jpg);
    background-size: 100%;
    border-radius: 15px;   
}
main .content div img{
    width: 100%;
    opacity: 0;
}
main .content li h4,p{
    padding: 8px;
    box-sizing: border-box;
}
main .content li p{
    display: flex;
    justify-content: space-between;
}
main .content li p img{
    font-size: 10px;
    width:20%;
}


/* 页脚内容 */
footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 55px;
    padding: 4px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 12px;
}
footer div{
    width: 15%;
    text-align: center;
}
footer div i{
    display: block;
    font-size: 22px !important;
    color: #444;
}